package com.balakitbbs.dao;
import java.util.Date;

import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Delete;   
import org.apache.ibatis.annotations.Insert;   
import org.apache.ibatis.annotations.Options;  
import org.apache.ibatis.annotations.Result;   
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Results;  
import org.apache.ibatis.annotations.Select;   
import org.apache.ibatis.annotations.Update;   
import com.balakitbbs.page.SearchPageUtil;     
import java.util.*;     
import com.balakitbbs.entity.Bala_mainpost;
   /**
    * bala_mainpost Dao类
    */ 
@Repository
public interface Bala_mainpostDaoIF{
	public int addBala_mainpost(Bala_mainpost bala_mainpost);

	public int delBala_mainpost(String id);

	public int delBala_mainpostTrue(String id);

	public int updateBala_mainpost(Bala_mainpost bala_mainpost);

	public Bala_mainpost selectBala_mainpostByID(String id);

	public int selectBala_mainpostCount();

	public int selectBala_mainpostCountAll();

	public List<Bala_mainpost> selectBala_mainpostsByPage(SearchPageUtil spu);

	public int selectBala_mainpostsByPOJOCount(Bala_mainpost bala_mainpost);

	public List<Bala_mainpost> selectBala_mainpostsByPOJO(Bala_mainpost bala_mainpost);

	public List<Bala_mainpost> selectBala_mainpostsByPojoPage(Map map);

}

